<!-- HTML 属性应当按照以下给出的顺序依次排列，确保代码的易读性。
    class
    id, name
    data-*
    src, for, type, href, value
    title, alt
    role, aria-*
-->
<!DOCTYPE html>
<html lang="zh-CN">
    <head>
		<title>llzhang</title>
        <meta charset="UTF-8">
        <!--如果是IE，会使用最新的渲染引擎进行渲染-->
        <meta http-equiv="X-UA-Compatible" content="IE=edge">
        <!--标准的视口设置-->
        <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
        <!-- Bootstrap CSS integrity:防止CDN篡改Javascript; crossorigin:告诉浏览器执行href的而不发送用户凭证;-->
        <link rel="stylesheet" href="https://cdn.bootcss.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">
        <script src="https://cdn.staticfile.org/vue/2.2.6/vue.min.js"></script>
        <style type="text/css">
            #title{
                margin-left:20px;
                margin-top:20px;
                margin-bottom:20px;
            }
            #check{
                min-width:30px;
                min-height:30px;
            }
            #div-col-left{
                background:rgb(183, 199, 214);
            }
            #div-col-right{
                background:rgb(228, 247, 238);
            }
        </style>
    </head>
    <body>
        <div class="container-fluid" id="app">
            <div class="row">
                <h1 id="title">标题</h1>
            </div>
            <div class="row">
                <div class="col-sm-2" id="div-col-left">
                    <div class="nav flex-column nav-pills" id="v-pills-tab" role="tablist" aria-orientation="vertical">
                        <a class="nav-link active" id="v-pills-basecfg-tab" data-toggle="pill" href="#v-pills-basecfg" role="tab" aria-controls="v-pills-basecfg" aria-selected="true">基础部分</a>
                        <a class="nav-link" id="v-pills-identity-tab" data-toggle="pill" href="#v-pills-identity" role="tab" aria-controls="v-pills-identity" aria-selected="false" v-on:click="queryUserServiceCfg">功能勾选</a>
                        <a class="nav-link" id="v-pills-signIn-tab" data-toggle="pill" href="#v-pills-signIn" role="tab" aria-controls="v-pills-signIn" aria-selected="false">签到模块</a>
                        <a class="nav-link" id="v-pills-publicity-tab" data-toggle="pill" href="#v-pills-publicity" role="tab" aria-controls="v-pills-publicity" aria-selected="false">宣传模块</a>
                        <a class="nav-link" id="v-pills-advisory-tab" data-toggle="pill" href="#v-pills-advisory" role="tab" aria-controls="v-pills-advisory" aria-selected="false">问答模块</a>
                        <a class="nav-link" id="v-pills-directing-tab" data-toggle="pill" href="#v-pills-directing" role="tab" aria-controls="v-pills-directing" aria-selected="false">指引模块</a>
                        <a class="nav-link" id="v-pills-statistics-tab" data-toggle="pill" href="#v-pills-statistics" role="tab" aria-controls="v-pills-statistics" aria-selected="false">统计模块</a>
                    </div>
                </div>
                <div class="col-sm-10" id="div-col-right">
                    <div class="tab-content" id="v-pills-tabContent">
                        <div class="tab-pane fade show active" id="v-pills-basecfg" role="tabpanel" aria-labelledby="v-pills-basecfg-tab">基础部分</div>
                        <div class="tab-pane fade" id="v-pills-identity" role="tabpanel" aria-labelledby="v-pills-identity-tab">
                            <button type="button" class="btn btn-primary" data-toggle="tooltip" v-on:click="saveUserServiceCfg" data-placement="top" title="保存数据到配置数据库" style="margin-left:5px;margin-top:5px;margin-bottom:5px">保存配置数据</button>
                            <table class="table table-bordered table-hover">
                                <caption></caption>
                                <thread>
                                    <tr class="danger">
                                        <th>身份类型</th>
                                        <th>身份描述</th>
                                        <th>酒店推荐</th>
                                        <th>语音体验</th>
                                        <th>实用功能签到</th>
                                        <th>签到VIP仪式</th>
                                        <th>实用功能宣传</th>
                                        <th>实用功能问答</th>
                                        <th>实用功能指路</th>
                                        <th>实用功能统计</th>
                                        <th>语音再体验</th>
                                        <th>更多体验签到</th>
                                        <th>更多体验宣传</th>
                                        <th>更多体验问答</th>
                                        <th>更多体验指路</th>
                                        <th>更多体验统计</th>
                                        <th>未换人更多体验</th>
                                    </tr>
                                </thread>
                                <tbody>
                                    <tr class="success" v-for="site in sites">
                                        <td><label style="font-weight:bold;">{{ site.userType }}</label></td>
                                        <td><input type="text" class="form-control" placeholder="身份描述" v-model="site.userDesc"></td>
                                        <td>
                                            <input type="checkbox" class="form-control" id="check" v-model="site.hotelAdvertising">
                                        </td>
                                        <td><input type="checkbox" class="form-control" id="check" v-model="site.experience1"></td>
                                        <td>
                                            <select class="form-control" v-model="site.pSign">
                                                <option>无签到模块</option>
                                                <option>全流程签到</option>
                                                <option>去拍照签到</option>
                                                <option>扫码注册签到</option>
                                                <option>精简签到</option>
                                            </select>
                                        </td>
                                        <td><input type="checkbox" class="form-control" id="check" v-model="site.pSignVipRite" v-show="site.pSign != '无签到模块'"></td>
                                        <td><input type="checkbox" class="form-control" id="check" v-model="site.pPublicity"></td>
                                        <td><input type="checkbox" class="form-control" id="check" v-model="site.pAdvisory"></td>
                                        <td><input type="checkbox" class="form-control" id="check" v-model="site.pDirecting"></td>
                                        <td><input type="checkbox" class="form-control" id="check" v-model="site.pStatistics"></td>
                                        <td><input type="checkbox" class="form-control" id="check" v-model="site.experience2"></td>
                                        <td><input type="checkbox" class="form-control" id="check" v-model="site.mSign"></td>
                                        <td><input type="checkbox" class="form-control" id="check" v-model="site.mPublicity"></td>
                                        <td><input type="checkbox" class="form-control" id="check" v-model="site.mAdvisory"></td>
                                        <td><input type="checkbox" class="form-control" id="check" v-model="site.mDirecting"></td>
                                        <td><input type="checkbox" class="form-control" id="check" v-model="site.mStatistics"></td>
                                        <td><input type="checkbox" class="form-control" id="check" v-model="site.mSameOne"></td>
                                    </tr>
                                </tbody>
                            </table>
                        </div>
                        <div class="tab-pane fade" id="v-pills-signIn" role="tabpanel" aria-labelledby="v-pills-signIn-tab">签到模块</div>
                        <div class="tab-pane fade" id="v-pills-advisory" role="tabpanel" aria-labelledby="v-pills-publicity-tab">宣传模块</div>
                        <div class="tab-pane fade" id="v-pills-publicity" role="tabpanel" aria-labelledby="v-pills-advisory-tab">问答模块</div>
                        <div class="tab-pane fade" id="v-pills-directing" role="tabpanel" aria-labelledby="v-pills-directing-tab">指引模块</div>
                        <div class="tab-pane fade" id="v-pills-statistics" role="tabpanel" aria-labelledby="v-pills-statistics-tab">统计模块</div>
                    </div>
                </div>
            </div>
            <div class="clearfix"></div>
        </div>

        <!-- 模态框 -->
		<div class="modal fade" id="conModal">
            <div class="modal-dialog modal-lg">
                <div class="modal-content">
                    <!-- 模态框头部 -->
                    <div class="modal-header">
                        <h1 class="modal-title">{{ modalMsgTitle }}</h1>
                        <button type="button" class="close" data-dismiss="modal">&times;</button>
                    </div>
                    <!-- 模态框主体 -->
                    <div class="modal-body">
                        {{ modalMsgBody }}
                    </div>
                    <!-- 模态框底部 -->
                    <div class="modal-footer">
                        <button type="button" class="btn btn-secondary" data-dismiss="modal">关闭</button>
                    </div>
                </div>
            </div>
        </div>

        <!-- Optional JavaScript -->
        <!-- jQuery first, then Popper.js, then Bootstrap JS -->
        <script src="https://cdn.bootcss.com/jquery/3.2.1/jquery.slim.min.js" integrity="sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN" crossorigin="anonymous"></script>
        <script src="https://cdn.bootcss.com/popper.js/1.12.9/umd/popper.min.js" integrity="sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q" crossorigin="anonymous"></script>
        <script src="https://cdn.bootcss.com/bootstrap/4.0.0/js/bootstrap.min.js" integrity="sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl" crossorigin="anonymous"></script>
        <script src="real.js"></script>
    </body>
</html>